<?php

 
namespace RedMVC\Form\Element;
use RedMVC;

/**
 * Html class
 *  
 * @category    RedMVC
 * @package     Form
 * @subpackage  Element 
 * @author      Jan Fischer, bitWorking <info@bitworking.de>
 */
class Html extends AElement{

    protected $template = '
        <tr>
            <td valign="top" colspan="3">{element}</td>
        </tr>
    ';

    public function render(){
        $translate = RedMVC\Registry::get('RedMVC_Translate');
        return '<div id="'.$this->varname.'">'.$translate->_($this->value).'</div>';
    }
}